//获取应用实例
var app = getApp();
Page({
    data: {
        orderId:"",
       "isShowFootNav": false
    },
    onLoad: function () {
       var data =  app.getStorageSync(app.globalData.cacheOrderPay);
        this.setData({
            orderId: data.orderId,
            cardFix: data.cardFix?data.userCellName+data.cardFix : ""
        });
    },
    onHide:function () {
		  app.removeStorageSync(app.globalData.cacheOrderResKey);
  	},
    detailTap:function (e) {
        var orderId = e.currentTarget.dataset.id;
        app.redirectTo({
            url: '../orderdetail/orderdetail?orderId='+orderId
        });
    }
});
